package cate.common.table.activity.foodgod.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.foodgod.row.FoodGodResetRow;

public class FoodGodResetSheet extends ESheet<FoodGodResetRow> {
    @Override
    public String getSheetName() {
        return "重置";
    }

    public FoodGodResetRow findRow(int resetGroup, int resetTimes) {
        return getList().stream().filter(e -> e.resetGroup == resetGroup && e.resetTimes == resetTimes).findAny().orElse(null);
    }
}
